package com.okaixz.common.constant;

/**
 * @author 陈大专
 * @time 2024/10/9 19:34
 * @des redis缓存常量值
 **/
public class RedisConstants {
    public static final String USER_KEY_PREF="cache:userinfo:";//用户信缓存key前缀  key=前缀+userid;
    public static final String PWD_CHECK_ERROR_KEY_PREF="cache:pwderror:";//校验密码错误次数缓存key前缀  key=前缀+userid;

    public static final String SESSIONID_PREF="cache:sessionid:";//用户websocket sessionid的key前缀  key=前缀+openid;
    public static final String WX_ACCESS_TOKEN="cache:wx:accesstoken";//微信公众号accesstoken缓存key

    public static final String ORDER_ID_ICR_KEY_PREF="icr:orderid:";//订单id key前缀
    public static final String ORDER_INFO_CACHE_PREF="cache:orderInfo:";//未支付订单缓存前缀
}
